package com.yunqian.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * demo对应的自定义配置文件
 *
 *
 * @create 2018-05-12 上午10:25
 **/
@ConfigurationProperties(prefix = "digits")
public class MyProperties {
    /**
     * 配置属性p1
     */
    private String p1;

    /**
     * 短信发送提供商云片相关配置
     */
    private YunpianProperties yunpian;

    public String getP1() {
        return p1;
    }

    public void setP1(String p1) {
        this.p1 = p1;
    }

    public YunpianProperties getYunpian() {
        return yunpian;
    }

    public void setYunpian(YunpianProperties yunpian) {
        this.yunpian = yunpian;
    }
}
